//
// Decompiled by Jadx - 489ms
//
package me.plusne.common.Json;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;

public class JsonUpdateApp implements Serializable {
    private int appcode;
    private String appcodename;
    private String content;
    private String downurl;
    private int forcedUpgrade;
    private int id;

    @SerializedName("new")
    private int newX;
    private NoticeBean notice;
    private String time;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonUpdateApp;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonUpdateApp)) {
            return false;
        }
        JsonUpdateApp jsonUpdateApp = (JsonUpdateApp) obj;
        if (!jsonUpdateApp.canEqual(this) || getId() != jsonUpdateApp.getId() || getAppcode() != jsonUpdateApp.getAppcode() || getForcedUpgrade() != jsonUpdateApp.getForcedUpgrade() || getNewX() != jsonUpdateApp.getNewX()) {
            return false;
        }
        String appcodename = getAppcodename();
        String appcodename2 = jsonUpdateApp.getAppcodename();
        if (appcodename != null ? !appcodename.equals(appcodename2) : appcodename2 != null) {
            return false;
        }
        String downurl = getDownurl();
        String downurl2 = jsonUpdateApp.getDownurl();
        if (downurl != null ? !downurl.equals(downurl2) : downurl2 != null) {
            return false;
        }
        String content = getContent();
        String content2 = jsonUpdateApp.getContent();
        if (content != null ? !content.equals(content2) : content2 != null) {
            return false;
        }
        String time = getTime();
        String time2 = jsonUpdateApp.getTime();
        if (time != null ? !time.equals(time2) : time2 != null) {
            return false;
        }
        NoticeBean notice = getNotice();
        NoticeBean notice2 = jsonUpdateApp.getNotice();
        return notice != null ? notice.equals(notice2) : notice2 == null;
    }

    public int getAppcode() {
        return this.appcode;
    }

    public String getAppcodename() {
        return this.appcodename;
    }

    public String getContent() {
        return this.content;
    }

    public String getDownurl() {
        return this.downurl;
    }

    public int getForcedUpgrade() {
        return this.forcedUpgrade;
    }

    public int getId() {
        return this.id;
    }

    public int getNewX() {
        return this.newX;
    }

    public NoticeBean getNotice() {
        return this.notice;
    }

    public String getTime() {
        return this.time;
    }

    public int hashCode() {
        int newX = getNewX() + ((getForcedUpgrade() + ((getAppcode() + ((getId() + 59) * 59)) * 59)) * 59);
        String appcodename = getAppcodename();
        int hashCode = (newX * 59) + (appcodename == null ? 43 : appcodename.hashCode());
        String downurl = getDownurl();
        int hashCode2 = (hashCode * 59) + (downurl == null ? 43 : downurl.hashCode());
        String content = getContent();
        int hashCode3 = (hashCode2 * 59) + (content == null ? 43 : content.hashCode());
        String time = getTime();
        int hashCode4 = (hashCode3 * 59) + (time == null ? 43 : time.hashCode());
        NoticeBean notice = getNotice();
        return (hashCode4 * 59) + (notice != null ? notice.hashCode() : 43);
    }

    public void setAppcode(int i) {
        this.appcode = i;
    }

    public void setAppcodename(String str) {
        this.appcodename = str;
    }

    public void setContent(String str) {
        this.content = str;
    }

    public void setDownurl(String str) {
        this.downurl = str;
    }

    public void setForcedUpgrade(int i) {
        this.forcedUpgrade = i;
    }

    public void setId(int i) {
        this.id = i;
    }

    public void setNewX(int i) {
        this.newX = i;
    }

    public void setNotice(NoticeBean noticeBean) {
        this.notice = noticeBean;
    }

    public void setTime(String str) {
        this.time = str;
    }

    public String toString() {
        return "JsonUpdateApp(id=" + getId() + ", appcode=" + getAppcode() + ", appcodename=" + getAppcodename() + ", downurl=" + getDownurl() + ", content=" + getContent() + ", forcedUpgrade=" + getForcedUpgrade() + ", time=" + getTime() + ", newX=" + getNewX() + ", notice=" + getNotice() + ")";
    }

    public static class NoticeBean implements Serializable {
        private String notice;
        private String problem;

        @SerializedName("time")
        private String timeX;
        private String update;

        public boolean canEqual(Object obj) {
            return obj instanceof NoticeBean;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof NoticeBean)) {
                return false;
            }
            NoticeBean NoticeBean = (NoticeBean) obj;
            if (!NoticeBean.canEqual(this)) {
                return false;
            }
            String timeX = getTimeX();
            String timeX2 = NoticeBean.getTimeX();
            if (timeX != null ? !timeX.equals(timeX2) : timeX2 != null) {
                return false;
            }
            String notice = getNotice();
            String notice2 = NoticeBean.getNotice();
            if (notice != null ? !notice.equals(notice2) : notice2 != null) {
                return false;
            }
            String update = getUpdate();
            String update2 = NoticeBean.getUpdate();
            if (update != null ? !update.equals(update2) : update2 != null) {
                return false;
            }
            String problem = getProblem();
            String problem2 = NoticeBean.getProblem();
            return problem != null ? problem.equals(problem2) : problem2 == null;
        }

        public String getNotice() {
            return this.notice;
        }

        public String getProblem() {
            return this.problem;
        }

        public String getTimeX() {
            return this.timeX;
        }

        public String getUpdate() {
            return this.update;
        }

        public int hashCode() {
            String timeX = getTimeX();
            int hashCode = timeX == null ? 43 : timeX.hashCode();
            String notice = getNotice();
            int hashCode2 = ((hashCode + 59) * 59) + (notice == null ? 43 : notice.hashCode());
            String update = getUpdate();
            int hashCode3 = (hashCode2 * 59) + (update == null ? 43 : update.hashCode());
            String problem = getProblem();
            return (hashCode3 * 59) + (problem != null ? problem.hashCode() : 43);
        }

        public void setNotice(String str) {
            this.notice = str;
        }

        public void setProblem(String str) {
            this.problem = str;
        }

        public void setTimeX(String str) {
            this.timeX = str;
        }

        public void setUpdate(String str) {
            this.update = str;
        }

        public String toString() {
            return "JsonUpdateApp.NoticeBean(timeX=" + getTimeX() + ", notice=" + getNotice() + ", update=" + getUpdate() + ", problem=" + getProblem() + ")";
        }
    }

}
